<?php



      $connection = mysql_connect("mysql.sql55.cdncenter.net","sq_dyeahcn","dy123456");
      mysql_select_db("sq_dyeahcn");
     //mysql_query("SET NAMES 'utf8'", $connection);
	//mysql_query("SET CHARACTER SET utf8", $connection);
	mysql_query("SET CHARACTER_SET_CONNECTION=utf8", $connection);
      $query = "SELECT * FROM `dyproduct`";
      $result = mysql_query($query);
      list($name,$productid,$price,$description) = mysql_fetch_row($result);

        print_r(mysql_fetch_row($result));
        
        header("Content-Type:text/html;charset:utf-8");
?>
